package top.shiyiri.spring5.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Aunean
 * @date 2022/2/18 20:58
 */
//自定义日志
public class UserLog {

    private static Logger logger = LoggerFactory.getLogger(UserLog.class);

    public static void main(String[] args) {
        logger.info("hello log4j2");
        logger.warn("hello log4j2");
    }
}
